package com.cwf.common.entity.Tree;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

@Getter
@Setter
@ToString
public class TreeEntity<T> {

    private String id;
    private String parentId;

    private Integer zIndex;

    private List<T> children;


    private T data;



}
